package com.hrt.manage.access.service;

import java.util.List;

import com.hrt.bean.Role;
import com.hrt.bean.RoleAccess;
import com.hrt.bean.ViewResource;

public interface AccessService {

	public List<Role> queryRolesByUserId(Long userId);

	public List<ViewResource> queryAccByRole(Long roleId);

	public List<ViewResource> queryAccByScope(Long roleId, Integer scope);

	public void deleteOldResource(List<ViewResource> oldResource);
}
